Package com.cisco.pt.ipc.sim.pdu.impl
Class LcpFrameImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.LcpFrameImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected intprotected PPPAuthenTypeprotected intprotected booleanprotected Shortprotected IPAddressFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) intintgetCode()intgetFieldType(String fieldName) intgetId()booleanvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetAddress(int address) voidsetCode(int code) voidsetControl(int control) voidsetHAPAuthenType(PPPAuthenType HAPAuthenType) voidsetId(int id) voidsetIsPppFrame(boolean isPppFrame) voidsetProtocolId(Short protocolId) voidsetRouteIp(IPAddress routeIp) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
address
protected int address -
control
protected int control -
protocolId
-
code
protected int code -
id
protected int id -
isPppFrame
protected boolean isPppFrame -
HAPAuthenType
-
routeIp
-
-
Constructor Details
-
LcpFrameImpl
public LcpFrameImpl()
-
-
Method Details
-
getAddress
public int getAddress()- Specified by:
getAddressin interfaceLcpFrame- Returns:
- int Returns a int
-
setAddress
public void setAddress(int address) - Specified by:
setAddressin interfaceLcpFrame- Parameters:
address- Takes in a parameter of address
-
getControl
public int getControl()- Specified by:
getControlin interfaceLcpFrame- Returns:
- int Returns a int
-
setControl
public void setControl(int control) - Specified by:
setControlin interfaceLcpFrame- Parameters:
control- Takes in a parameter of control
-
getProtocolId
- Specified by:
getProtocolIdin interfaceLcpFrame- Returns:
- Short Returns a Short
-
setProtocolId
- Specified by:
setProtocolIdin interfaceLcpFrame- Parameters:
protocolId- Takes in a parameter of protocolId
-
getCode
public int getCode() -
setCode
public void setCode(int code) -
getId
public int getId() -
setId
public void setId(int id) -
getIsPppFrame
public boolean getIsPppFrame()- Specified by:
getIsPppFramein interfaceLcpFrame- Returns:
- boolean Returns a boolean
-
setIsPppFrame
public void setIsPppFrame(boolean isPppFrame) - Specified by:
setIsPppFramein interfaceLcpFrame- Parameters:
isPppFrame- Takes in a parameter of isPppFrame
-
getHAPAuthenType
- Specified by:
getHAPAuthenTypein interfaceLcpFrame- Returns:
- PPPAuthenType Returns a PPPAuthenType
-
setHAPAuthenType
- Specified by:
setHAPAuthenTypein interfaceLcpFrame- Parameters:
HAPAuthenType- Takes in a parameter of HAPAuthenType
-
getRouteIp
- Specified by:
getRouteIpin interfaceLcpFrame- Returns:
- IPAddress Returns a IPAddress
-
setRouteIp
- Specified by:
setRouteIpin interfaceLcpFrame- Parameters:
routeIp- Takes in a parameter of routeIp
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-